package com.stylefeng.guns.modular.system.service;

import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.common.persistence.model.NetworkTrainRule;

import java.util.List;

/**
 * <p>
 * 网络培训积分 服务类
 * </p>
 *
 * @author jondai
 * @since 2017-12-27
 */
public interface INetworkTrainRuleService extends IService<NetworkTrainRule> {
	void empty();
	List<NetworkTrainRule> selectAll();

	/**
	 * 获取最小学时
	 * @return
	 */
	Double getUpperLimit();

	Double getUpperLimit(List<NetworkTrainRule> networkTrainRules) ;

	Double integralCal(Double hours);
}
